<%@ page language="java" import="java.util.*,com.hs.auth.model.*,com.hs.wdss.model.*" pageEncoding="utf-8"%>
 <% 
   String disid = (String)request.getAttribute("disid")==null?"":(String)request.getAttribute("disid");
   WdssDisinfo obj = (WdssDisinfo)request.getAttribute("obj");
   String wdssid = request.getParameter("wdssid");
	if(wdssid == null){
		wdssid = "";
	}
  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="../../include.jsp"%>    

<script language="javascript" type="text/javascript">

function wdssInfo(){
	var wdssid = document.all.wdssid.value;
    window.parent.dataprodis.frameElement.src = "<%=basePath%>produce/dataprodis.do?wdssid="+wdssid;
}
function basicInfo(){
	var wdssid = document.all.wdssid.value;
    window.parent.dataprodis.frameElement.src = "<%=basePath%>produce/dataprobasic.do?wdssid="+wdssid;
}
function paraInfo(){
	var wdssid = document.all.wdssid.value;
    window.parent.dataprodis.frameElement.src = "<%=basePath%>produce/dataproPara.do?wdssid="+wdssid;
}
function discauseInfo(){
    var wdssid = document.all.wdssid.value;
    window.parent.dataprodis.frameElement.src = "<%=basePath%>produce/dataproDiscause.do?wdssid="+wdssid;
}
function ptomInfo(){
    var wdssid = document.all.wdssid.value;
    window.parent.dataprodis.frameElement.src = "<%=basePath%>produce/dataproPtom.do?wdssid="+wdssid;
}
function symInfo(){
    var wdssid = document.all.wdssid.value;
    window.parent.dataprodis.frameElement.src = "<%=basePath%>produce/dataproSym.do?wdssid="+wdssid;
}
function preInfo(){
    var wdssid = document.all.wdssid.value;
    window.parent.dataprodis.frameElement.src = "<%=basePath%>produce/dataproPre.do?wdssid="+wdssid;
}
/**疾病信息保存结束**/	           
</script>
</head>
<body>
<div class="left_menu">
<table border="0" cellspacing="0" cellpadding="0" > 
<input name="wdssid" type="hidden" value="<%=wdssid%>"/>
</table>
        <a href="javascript:wdssInfo()" class="curr">
        <% 
        	if(wdssid!=null && !"".equals(wdssid)){
        		out.print("<i></i>");
        	}
        %>
        <img src="<%=imagePath %>icon_1.png" width="24" height="30" />医案信息</a>
        <a href="javascript:basicInfo()">
		<%
			if(obj != null){
				Set basic = obj.getUserinfoset();
				if(basic !=null &&basic.size()>0 ) out.print("<i></i>");
			}
		 %>
		<img src="<%=imagePath %>icon_2.png" />基本信息</a>
        <a href="javascript:paraInfo()">
        <%
			if(obj != null){
				Set para = obj.getParaset();
				if(para !=null &&para.size()>0 ) out.print("<i></i>");
			}
		 %><img src="<%=imagePath %>icon_3.png" />并发症信息</a>
        <a href="javascript:discauseInfo()">
		<%
			if(obj != null){
				Set discause = obj.getDiscauseset();
				if(discause !=null &&discause.size()>0 ) out.print("<i></i>");
			}
		 %><img src="<%=imagePath %>icon_4.png" />病因信息</a>
        <a href="javascript:ptomInfo()">
        <%
			if(obj != null){
				Set ptom = obj.getPtomset();
				if(ptom !=null &&ptom.size()>0 ) out.print("<i></i>");
			}
		 %>
        <img src="<%=imagePath %>icon_5.png" />症状信息</a>
        <a href="javascript:symInfo()">
        <%
			if(obj != null){
				Set sym = obj.getSymset();
				Set cure = obj.getCuremethodset();
				if((sym !=null &&sym.size()>0) || (cure !=null && cure.size()>0) ) out.print("<i></i>");
			}
		 %>
        <img src="<%=imagePath %>icon_6.png" />证候信息</a>
        <a href="javascript:preInfo()">
        <%
			if(obj != null){
				Set pre = obj.getPreset();
				Set herb = obj.getHerbset();
				if((pre !=null &&pre.size()>0) || (herb !=null && herb.size()>0) ) out.print("<i></i>");
			}
		 %>
        <img src="<%=imagePath %>icon_7.png" />方剂信息</a>     
</div>
</body>
</html>

